package com.shuwen.gcdj.entity.basics;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 报修工单策略关联表
 * @TableName order_repairorderstrategyrel
 */
@TableName(value ="order_repairorderstrategyrel")
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class OrderRepairorderstrategyrel extends Model<OrderRepairorderstrategyrel> implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 策略id
     */
    private String strategyId;

    /**
     * 报修详情id
     */
    private String detailId;

    /**
     * 报修工单id
     */
    private String orderId;

    /**
     * 创建者id
     */
    @TableField(fill = FieldFill.INSERT)
    private String createId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新者id
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateId;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 是否删除 1-删除 0-正常
     */
    private Integer isDelete;

    /**
     *
     */
    private String remark;

    /**
     * 报修详情编号
     */
    private String detailCode;

    /**
     * 报修编号
     */
    private String orderCode;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
